﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CCWin;

namespace SCCM
{
    public partial class Login : Skin_Mac
    {
        public Login()
        {
            InitializeComponent();
        }

        private void skinButton1_Click(object sender, EventArgs e)
        {
            NewMainWindow mw=new NewMainWindow();
            mw.Show();
        }

        private void skinButton3_Click(object sender, EventArgs e)
        {
            HistorySearchForm hsw = new HistorySearchForm();
            hsw.Show();
        }

        private void skinButton2_Click(object sender, EventArgs e)
        {
            AlertLimitForm ui = new AlertLimitForm();
            ui.ShowDialog();
            //Authorized au = new Authorized();
            //DialogResult re = au.ShowDialog();
            //if (re == System.Windows.Forms.DialogResult.OK)
            //{
            //    DataBase dataBase = new DataBase();
            //    dataBase.Excel2Access();
                
            //}
        }

        private void skinButton4_Click(object sender, EventArgs e)
        {
            Authorized au = new Authorized();
            DialogResult re = au.ShowDialog();
            if (re == System.Windows.Forms.DialogResult.OK)
            {
                PortManage pm = new PortManage();
                pm.Show();
            }
            
        }
    }
}